using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_ChiTietHoSoDatMuaHangEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_ChiTietHoSoDatMuaHangEntity()
         {
             tableName = "TBL_ChiTietHoSoDatMuaHang";


			 fieldInfos.Add(new FieldInfo("TBL_ChiTietHoSoDatMuaHang","MaCTDatMH","MaCTDatMH","string",10,true,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ChiTietHoSoDatMuaHang","MaHSo","MaHSo","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ChiTietHoSoDatMuaHang","MaTB","MaTB","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ChiTietHoSoDatMuaHang","SoLuong","SoLuong","int",0,false,true,false,false,"","",""));
         }
       //properties
                    
		 protected string m_MaCTDatMH;
		 protected string m_MaHSo;
		 protected string m_MaTB;
		 protected int m_SoLuong;

		 public string MaCTDatMH

          { 
                get { 
                    return m_MaCTDatMH;}

                set{m_MaCTDatMH=value;

                    GetField("MaCTDatMH").Set();
                    GetField("MaCTDatMH").IsNull=(value == null);           
                    }
          }
		 public string MaHSo

          { 
                get { 
                    return m_MaHSo;}

                set{m_MaHSo=value;

                    GetField("MaHSo").Set();
                    GetField("MaHSo").IsNull=(value == null);           
                    }
          }
		 public string MaTB

          { 
                get { 
                    return m_MaTB;}

                set{m_MaTB=value;

                    GetField("MaTB").Set();
                    GetField("MaTB").IsNull=(value == null);           
                    }
          }
		 public int SoLuong

          { 
                get { 
                    return m_SoLuong;}

                set{m_SoLuong=value;

                    GetField("SoLuong").Set();
                    GetField("SoLuong").IsNull=(value == null);           
                    }
          }

}
}
